package com.tian.common.util.Task

import android.os.Looper

/**
 * @author tiansongtao, Email:tiansongtao@up366.com
 * @date 2021/4/9 11:55
 */
object TaskUtils {

    fun isMainThread() = Thread.currentThread() == Looper.getMainLooper().thread

}